Improve positioning of entry completion popup.
authorMatthias Clasen <mclasen@redhat.com>
Mon, 13 Sep 2004 14:15:03 +0000 (14:15 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 13 Sep 2004 14:15:03 +0000 (14:15 +0000)
2004-09-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Improve positioning of entry completion popup.

gtk/gtkentrycompletion.c

index f2abe951c2af8a216befd225da81b7d0d69fa9ae..61f2b10f24dd9352d6933ae9839ba03a2d6630ae 100644 (file)
@@ -1279,8 +1279,6 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion)
   gdk_window_get_origin (completion->priv->entry->window, &x, &y);
   get_borders (GTK_ENTRY (completion->priv->entry), &x_border, &y_border);
 
-  x += x_border;
-  y += 2 * y_border;
 
   matches = gtk_tree_model_iter_n_children (GTK_TREE_MODEL (completion->priv->filter_model), NULL);